package org.colafries.admin.entity.vo.index;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.colafries.admin.entity.vo.ColafriesBaseVO;

/**
 * @author Ann
 * @version v1.0
 * @ClassName LogicConditionReqVO
 * @Description
 * @date Created in 2024/6/7
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
public class LogicConditionReqVO extends ColafriesBaseVO {
    /**
     * 业务限定code
     */
    @ApiModelProperty(value = "业务限定code", dataType = "string", example = "xx")
    private Long code;

    /**
     * 来源逻辑表code
     */
    @ApiModelProperty(value = "来源逻辑表code", dataType = "string", example = "8486519050329444352")
    private Long logicTableCode;

    /**
     * 限定英文名
     */
    @ApiModelProperty(value = "限定英文名", dataType = "string", example = "overdue_flag")
    private String field;

    /**
     * 限定名称
     */
    @ApiModelProperty(value = "限定名称", dataType = "string", example = "办件逾期标识")
    private String alias;

    /**
     * 限定描述
     */
    @ApiModelProperty(value = "限定描述", dataType = "string", example = "办件逾期的标识")
    private String description;

    /**
     * 计算逻辑
     */
    @ApiModelProperty(value = "计算逻辑", dataType = "string", example = "overdue=1 AND sup_is_overdue=1")
    private String expression;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人", dataType = "string", example = "Ann")
    private String createUser;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人", dataType = "string", example = "Ann")
    private String updateUser;
}
